﻿<HandleError()> _
Public Class UsersController
    Inherits System.Web.Mvc.Controller

    Private usersRepo As New UserRepository()

    Function Index() As ActionResult
        sysLog.Info("Users --> " & User.Identity.Name)

        usersRepo.FindAllUsers()
        Dim displayRound = GlobalController.FindCurrentRound()
        usersRepo.UserPicksList = usersRepo.GetListOfUserPicks(displayRound)

        Return View("Index", usersRepo)
    End Function

End Class
